
        <table border="0" cellspacing="1" cellpadding="1">
          <tr><td width="50%">
		  
<?if (!$addrecord) {?>

<form name="form1" method="post">

        <table border="0" cellspacing="1" cellpadding="1">
          <tr> 
            <td><input type="text" class="text" name="Code" size="20" value="Enter Code ..." onFocus="Code.value=''"><input type="hidden" name="label" value="<?=$label?>"><input type="hidden" name="parent_id" value="<?=$id?>"><input type="hidden" name="aid" value="<?=$id?>"></td>
            <td>
			<input name="image" type="image"  onCLick="return submitForm('form1','add.php',1)" src="<?print($rela_path)?>images/bt_add.gif">
			</td>

			<td><img src="<?print($rela_path)?>images/shim.gif" width=30></td>

          </tr>
        </table>

</form>


<?}?>

</td><td align="right">

<form name="form2" method="get">

        <table border="0" cellspacing="1" cellpadding="1">
          <tr>
            <td><input type="text" class="text" name="Search" size="20" value="Enter Code or Name ..." onFocus="Search.value=''"><input type="hidden" name="action" value="search"></td>
			<td>
			<input name="image" type="image" src="<?print($rela_path)?>images/bt_search.gif">
			</td><td>
			<input name="image" type="image" src="<?print($rela_path)?>images/bt_listall.gif" onClick="Redirect('<?echo $PHP_SELF?>',1);return false;">
			</td>
          </tr>
        </table>
</form>

			</td>
          </tr>
        </table>
